.curBlock {
    width: 100%;
    height: 300px;
    margin: 20px 0;
}
.red {
    background-color: red;
}
.blue {
    background-color: blue;
}
.yellow {
    background-color: yellow;
}
.green {
    background-color: green;
}

.modal {
    position: fixed;
    top: 0;
    left: 0;
    bottom: 0;
    right: 0;
    z-index: 10;
}
.modal .mask {
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, .5);
}
.content {
    width: 100%;
    height: 100px;
    background-color: white;
    padding: 20px;
    position: absolute;
    bottom: 0;
}
.content input {
    width: 100%;
    height: 40rpx;
    border: 1px solid #eee;
}